import axios from '@/libs/request/axios'
//保存放款风险提示信息
export const saveOrUpdateLoanRisk = (params) => {
    return axios.request({
        url: '/case/loanRisk/saveOrUpdateLoanRisk',
        data:params,
        method: 'post'
    })
}
//查询附件小类集
export const queryAttachmentClass = (params) => {
    return axios.request({
        url: '/case/loanRisk/queryAttachmentClass',
        params:params,
        method: 'get'
    })
}
//查询附件小类集-不要分页
export const queryAttachmentClassList = (params) => {
    return axios.request({
        url: '/case/loanRisk/queryAttachmentClassList',
        params:params,
        method: 'get'
    })
}

//查询风险提示规则信息
export const getLoanRuleInfo = (params) => {
    return axios.request({
        url: '/case/loanRisk/getLoanRuleInfo',
        params:params,
        method: 'get'
    })
}
//更新风险提示规则状态修改
export const updateLoanRiskRule = (params) => {
    return axios.request({
        url: '/case/loanRisk/updateLoanRiskRule',
        data:params,
        method: 'post'
    })
}
